function requireAll() {
  const r = require.context("./routes", false, /\.js/);
  return r.keys().reduce((collect, key) => {
    return [...collect, ...r(key).default];
  }, []);
}
export default requireAll();
